package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;

/**
 * @author liangd
 * @since 2021-02-22 18:33
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class PaperRecordInfo  implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 问卷记录id，主键，自增
     */
    @TableId(value = "prinid",type = IdType.AUTO)
    private Integer prinid;

    /**
     * 问卷id
     */
    private Integer papeid;

    /**
     * 用户id
     */
    private Long userid;

    /**
     * 问题id
     */
    private Integer quesid;

    /**
     * 选项id
     */
    private Integer optnid;
}
